package entity

import (
	"gluenet/modules/manager/server/domain/po"
	"gluenet/modules/manager/server/infra"
)

type InfraTreeNode struct {
	infra.Entity     `json:"-" yaml:"-"`
	po.InfraTreeNode `json:",inline" yaml:",inline"`
	ChildData        []*InfraTreeNode `json:"child_data" yaml:"child_data"`
}

func (r *InfraTreeNode) BuildAgentRepoKey(obj *Agent) error {

	return nil
}

func (r *InfraTreeNode) BuildInstanceRepoKey(obj *Instance, order *ScheduleOrder) error {
	return nil
}
